package com.cmic.rcs.emoji.mapper;

import com.cmic.rcs.emoji.entity.pojo.TEnterprise;
import io.mybatis.mapper.Mapper;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface EnterpriseMapper extends Mapper<TEnterprise, Long> {

    @Delete("delete from t_enterprise where enterprise_code = #{enterpriseCode}")
    int deleteEnterpriseCode(String enterpriseCode);
    @Select("select * from t_enterprise")
    List<TEnterprise> EnterpriseselectList();

    @Select("select * from t_enterprise where enterprise_code = #{enterpriseCode}")
    TEnterprise selectByEnterpriseCode(String enterpriseCode);
}
